//
//  QcFeatureCell.m
//  QcMedical1
//
//  Created by ios001 on 2016/12/23.
//  Copyright © 2016年 jiawen Du. All rights reserved.
//

#import "QcFeatureCell.h"

@interface QcFeatureCell ()

@property (nonatomic, weak) UIImageView *imgV;

@end


@implementation QcFeatureCell

- (UIImageView *)imgV{
    if (!_imgV) {
        UIImageView *imageV = [[UIImageView alloc] initWithFrame:self.bounds];
        _imgV = imageV;
        [self.contentView addSubview:imageV];
    }
    return _imgV;
}


- (void)setImageName:(NSString *)imageName{
    _imageName = imageName;
    
    self.imgV.image = [UIImage imageNamed:self.imageName];
    
    self.imgV.contentMode = UIViewContentModeScaleAspectFit;
    
    [self.contentView addSubview:_imgV];
}
    

    




@end
